import sys

import command


def open_directory():
    argv = sys.argv
    if len(argv) >= 2:
        command.startfile(argv[1])
    else:
        command.exe_command('start .')


if __name__ == '__main__':
    open_directory()
